difference between cognitive and behavioral theory of learning